package com.hospital.insurancepeople.handler;

/**
 * @Author: Yeman
 * @Date: 2023-04-03-14:48
 * @Description:
 */
public class InvocationFactory {
    /**
     * 根据表类型取得实现处理类
     * @param type
     * @return
     */
    public static MessageInfo getTableImp(String type) {
        switch (type) {
            case "INP_SETTLE_MASTER":
                return new InpDetailUp();
            case "INSURANCE_LOGS":
                return new Minsur4101();
            default:
                return null;
        }
    }

}
